package com.liner.homework.third;

public class CarTest {
    public static void main(String[] args) {
        Car car1 = new Car("玛莎拉蒂", "银白色", 119,2,1,'有','有');
        car1.info();
        car1.start();
        car1.run();
        car1.stop();
        Car car2 = new Car("长安", "黑色", 12,7,100,'无','有');
        car2.info();
        car2.start();
        car2.run();
        car2.stop();


    }
}
